home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
12984
/
12984.xpi
/
chrome
/
VideoDownloaderToolbar.jar
/
content
/
vid.xul
< prev
Wrap
Extensible Markup Language
|
2010-01-29
|
7KB
|
189 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://vidbar/skin/vid.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://vidbar/locale/vid.dtd" >
<overlay id="vidbar-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://vidbar/content/vid.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/utils.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/db.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/md5.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/facebook.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/docanalyzer.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/netmonitor.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/Profile.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/autofill.js" />
<script type="application/x-javascript">
<![CDATA[
window.addEventListener("load", function(event){com.VidBar.Main.onLoad(event);}, true);
window.addEventListener("close",function(event){com.VidBar.Main.onClose(event);},true);
]]>
</script>
<!--
<popup id="menu_ToolsPopup">
<menu id="vidbar-toolsmenu" label="Video Downloader" insertafter="devToolsSeparator">
<menupopup id="vidbar-toolsmenupopup" />
</menu>
</popup>
-->
<toolbox id="navigator-toolbox">
<toolbar id="vidbar-toolbar" class="chromeclass-toolbar-additional"
toolbarname="Video Downloader Toolbar" hidden="false" persist="hidden collapsed">
<!--
<toolbarbutton class="basic-toolbarbutton"
image="chrome://vidbar/skin/bing.png" oncommand="com.VidBar.Main.openHome()">
</toolbarbutton>
-->
<toolbarbutton id="vidbar-toolbar-sys-button"
label="" tooltiptext="Video Downloader Toolbar"
image="chrome://vidbar/skin/bing-logo-44x16.png" type="menu"
orient="horizontal"
oncommand="return;if(event.originalTarget.tagName=='xul:toolbarbutton')com.VidBar.UI.openHome()">
<menupopup id="vidbar-sys-menupopup">
<!--
<menuitem label="Preferences"
image="chrome://vidbar/skin/preferences.png"
oncommand="com.VidBar.UI.preferences()"
class="menuitem-iconic" />
<menuitem label="Supported Sites"
oncommand="com.VidBar.UI.openSites()"
class="menuitem-iconic" />
<menuitem label="Downloads"
image="chrome://vidbar/skin/downloads.gif"
oncommand="com.VidBar.UI.openDownloadQueue()"
class="menuitem-iconic" />
<menuitem label="Open Download Folder"
image="chrome://vidbar/skin/open_download_folder.gif"
oncommand="com.VidBar.UI.openDownloadDir()"
class="menuitem-iconic" />
<menuitem label="Help"
image="chrome://vidbar/skin/help2.gif"
oncommand="com.VidBar.UI.help()"
class="menuitem-iconic" />
<menuseparator />
<menuitem label="About"
image="chrome://vidbar/skin/about-logo-16.gif"
oncommand="com.VidBar.UI.about()"
class="menuitem-iconic" />
-->
</menupopup>
</toolbarbutton>
<textbox id="vidbar-search-box" editable="true" width="200"
onkeypress="com.VidBar.UI.onSearchBoxKeyPressed(event)" />
<toolbarbutton label="Search" tooltiptext="Search Bing"
image="chrome://vidbar/skin/bing-logo.png"
orient="horizontal" type="menu-button"
oncommand="if(event.originalTarget.tagName=='xul:toolbarbutton')com.VidBar.UI.searchBing()">
<menupopup id="vidbar-search-menupopup">
<menuitem label="Search Video"
image="chrome://vidbar/skin/bing-logo.png"
oncommand="com.VidBar.UI.searchBingVideo()"
class="menuitem-iconic" />
</menupopup>
</toolbarbutton>
<toolbarseparator />
<toolbaritem class="toolbaritem-1 chromeclass-toolbar-additional"
id="vidbar-toolbaritem" context="_child">
<toolbarbutton id="vidbar-download-button"
label="Save Video"
hidden="false" tooltiptext="Save Video" type="menu" disabled="true">
<menupopup id="vidbar-download-menupopup" />
</toolbarbutton>
</toolbaritem>
<!--
<toolbaritem class="toolbaritem-1 chromeclass-toolbar-additional"
id="vidbar-toolbaritem" context="_child">
<toolbarbutton label="AutoFill"
image="chrome://vidbar/skin/auto-fill.png"
orient="horizontal" type="menu-button"
oncommand="if(event.originalTarget.tagName=='xul:toolbarbutton')com.VidBar.UI.autoFill()" >
<menupopup id="vidbar-autofill-menupopup">
<menuitem label="Edit Profile"
image="chrome://vidbar/skin/options.png"
oncommand="com.VidBar.UI.editAutofillProfile()"
class="menuitem-iconic" />
</menupopup>
</toolbarbutton>
</toolbaritem>
<toolbarbutton label="Inbox"
image="chrome://vidbar/skin/mail.png"
oncommand="com.VidBar.UI.openInbox()"/>
-->
<toolbarbutton label="Translate"
tooltiptext="Translate this page"
image="chrome://vidbar/skin/translate.gif"
oncommand="com.VidBar.UI.openTranslate()"/>
<toolbarbutton label="Stumble!"
id="vidbar-stumble-button"
tooltiptext="Stumble to a random interesting page"
oncommand="com.VidBar.UI.openStumble()"/>
<toolbarbutton label="Facebook"
image="chrome://vidbar/skin/facebook.png"
oncommand="com.VidBar.UI.openFacebook()"/>
<!--
<toolbarseparator />
<toolbarbutton id="vidbar-fb-mail" image="chrome://vidbar/skin/mail.gif"
label=" " oncommand="com.VidBar.VidFB.openMail()"/>
<toolbarbutton id="vidbar-fb-friend" image="chrome://vidbar/skin/friend.gif"
label=" " oncommand="com.VidBar.VidFB.openFriend()"/>
<toolbarbutton id="vidbar-fb-event" image="chrome://vidbar/skin/event.gif"
label=" " oncommand="com.VidBar.VidFB.openEvent()"/>
<toolbarbutton id="vidbar-fb-group" image="chrome://vidbar/skin/group.gif"
label=" " oncommand="com.VidBar.VidFB.openGroup()"/>
<toolbarbutton id="vidbar-fb-poke" image="chrome://vidbar/skin/poke.gif"
label=" " oncommand="com.VidBar.VidFB.openPoke()"/>
-->
</toolbar>
</toolbox>
<toolbarpalette id="BrowserToolbarPalette">
<toolbaritem class="toolbaritem-1 chromeclass-toolbar-additional"
id="vidbtn-toolbaritem" context="_child">
<toolbarbutton id="vidbtn-toolbar-button"
label="Video Downloader"
hidden="false" tooltiptext="Video Downloader" type="menu" disabled="true">
<menupopup id="vidbtn-download-menupopup" />
</toolbarbutton>
<menupopup id="vidbtn-toolbar-ctxmenupopup" />
</toolbaritem>
</toolbarpalette>
<!--
<statusbar id="status-bar">
<statusbarpanel id="vidbar-statusbarpanel" insertbefore="security-button"
hidden="true" context="_child">
<toolbarbutton id="vidbar-statusbar-button"
tooltiptext="Video Downloader" type="menu" disabled="true">
<menupopup id="vidbar-statusbar-menupopup" />
</toolbarbutton>
<menupopup id="vidbar-statusbar-ctxmenupopup" />
</statusbarpanel>
</statusbar>
-->
<popup id="contentAreaContextMenu">
<menu id="vidbar-ctxmenu" label="Video Downloader"
insertbefore="context-sep-selectall,context-sep-stop,context-sep-copylink">
<menupopup id="vidbar-ctxmenupopup" />
</menu>
</popup>
</overlay>